package entity;

import java.io.Serializable;

public class Subject implements Serializable {
	private long id, gradeid;
	private String subjectname;
	private int classHour;

	public Subject() {
	}

	public Subject(long id, long gradeid, String subjectname, int classHour) {
		super();
		this.id = id;
		this.gradeid = gradeid;
		this.subjectname = subjectname;
		this.classHour = classHour;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getGradeid() {
		return gradeid;
	}

	public void setGradeid(long gradeid) {
		this.gradeid = gradeid;
	}

	public String getSubjectname() {
		return subjectname;
	}

	public void setSubjectname(String subjectname) {
		this.subjectname = subjectname;
	}

	public int getClassHour() {
		return classHour;
	}

	public void setClassHour(int classHour) {
		this.classHour = classHour;
	}

}
